﻿#region Using Directives

    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using System.Web.Mvc;

#endregion

namespace MarketPulse.Web.Mvc
{
    /// <summary>
    /// Base class for the MVC controllers used as part of MPI systems
    /// </summary>
    public abstract class Controller : System.Web.Mvc.Controller
    {
        #region Member Variables

            /// <summary>Local variable used to determine whether a page should check if a user is logged on before continuing</summary>
            protected bool mCheckAuthentication = true;

            /// <summary>Property that stores the name of the class.</summary>
            protected static readonly Type mClass = System.Reflection.MethodBase.GetCurrentMethod().DeclaringType;

            /// <summary>Property that stores the log4net logger for this class.</summary>
            protected static readonly log4net.ILog mLog = log4net.LogManager.GetLogger(mClass);

        #endregion
    }
}
